package org.dei.perla.rockfall.gui.queryforge;

import javax.swing.BoxLayout;
import javax.swing.JPanel;

public class FilterStatusPanel extends JPanel implements ParameterConfigurationManipulator{

	private FilterXStatusPanel filterXPanel;
	private FilterYStatusPanel filterYPanel;
	private FilterZStatusPanel filterZPanel;

	public FilterStatusPanel(DSPicParameters parameters) {
		super();
		BoxLayout layout = new BoxLayout(this, BoxLayout.Y_AXIS);
		this.setLayout(layout);
		this.filterXPanel = new FilterXStatusPanel("Filtro asse X", parameters);
		this.filterYPanel = new FilterYStatusPanel("Filtro asse Y", parameters);
		this.filterZPanel = new FilterZStatusPanel("Filtro asse Z", parameters);
		this.add(filterXPanel);
		this.add(filterYPanel);
		this.add(filterZPanel);
	}
	
	public void updateConfiguration(){
		this.filterXPanel.updateConfiguration();
		this.filterYPanel.updateConfiguration();
		this.filterZPanel.updateConfiguration();
	}

	@Override
	public void readConfiguration() {
		// TODO Auto-generated method stub
		
	}

}
